home *** CD-ROM | disk | FTP | other *** search
- stop();
- removeAllClips();
- alpha1 = 0;
- alpha2 = 0;
- alpha3 = 0;
- alpha4 = 0;
- alphaTime = 0;
- back3._alpha = 0;
- back2._alpha = 0;
- back1._alpha = 0;
- _root.onEnterFrame = function()
- {
- if(alpha4 != 100)
- {
- if(alpha3 == 100)
- {
- alpha4 += 10;
- }
- else if(alpha2 == 100)
- {
- alpha3 += 10;
- }
- else if(alpha1 == 100)
- {
- alpha2 += 10;
- }
- else if(alphaTime == 100)
- {
- alpha1 += 10;
- }
- else
- {
- alphaTime += 10;
- }
- }
- back3._x = -440 + _xmouse / 1.5;
- back2._x = -300 + _xmouse / 4;
- back1._x = -230 + _xmouse / 8;
- back3._alpha = alpha3;
- back2._alpha = alpha2;
- back1._alpha = alpha1;
- tutorialBox._alpha = alpha4;
- tutorialBox.onRollOver = function()
- {
- this._xscale = 120;
- this._yscale = 120;
- };
- tutorialBox.onRollOut = function()
- {
- this._xscale = 100;
- this._yscale = 100;
- };
- tutorialBox.onPress = function()
- {
- _root.gotoAndStop("tutorial");
- };
- max_games._alpha = alpha4;
- max_games.onRollOver = function()
- {
- this._xscale = 120;
- this._yscale = 120;
- };
- max_games.onRollOut = function()
- {
- this._xscale = 100;
- this._yscale = 100;
- };
- max_games.onPress = function()
- {
- getUrl("http://www.maxgames.com", "_blank");
- };
- };
- var i = 1;
- while(i <= 3)
- {
- _root["menu" + i].menuText.gotoAndStop(i);
- _root["menu" + i]._xscale = 80;
- _root["menu" + i]._yscale = 80;
- _root["menu" + i]._alpha = 0;
- _root["menu" + i].j = i;
- _root["menu" + i].onPress = function()
- {
- if(this.j == 1)
- {
- _root.gotoAndStop("gameOptions");
- }
- if(this.j == 2)
- {
- _root.gotoAndStop("levelSelect");
- }
- if(this.j == 3)
- {
- _root.gotoAndStop("gameCredits");
- }
- };
- _root["menu" + i].onRollOver = function()
- {
- this.play();
- this._xscale = 110;
- this._yscale = 110;
- };
- _root["menu" + i].onRollOut = function()
- {
- this._xscale = 80;
- this._yscale = 80;
- };
- _root["menu" + i].onEnterFrame = function()
- {
- this._alpha = alpha4;
- };
- i++;
- }
-